package com.wfk.init;

import javax.annotation.PostConstruct;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Component;

import com.wfk.constant.StartInfo;
import com.wfk.resource.SpringBeanResource;

@Component
public class InitComponent {

	@Autowired
	private RedisTemplate<String, Object> redisTemplate ; 

	/**
	 * 初始化注入
	 */
	@PostConstruct
	public void init() {
		SpringBeanResource.redisTemplate = redisTemplate ;
		
	}

	/**
	 * 初始化操作
	 */
	@PostConstruct
	public void initPreper() {
	}
}
